# -*- coding: utf-8 -*-
from apscheduler.schedulers.blocking import BlockingScheduler
import today_all
import money_flow

if __name__ == '__main__':
    # today_all.main_today_all()
    sched = BlockingScheduler()
    sched.add_job(today_all.main_today_all, 'cron', day_of_week='mon-fri', hour='9-15', minute='0,5,10,15,20,25,30,35,40,45,50,55')
    # sched.add_job(today_all.main_today_all, 'interval', minutes=5)
    sched.add_job(money_flow.main_flow, 'cron', day_of_week='mon-sat', hour=0, minute=30)
    sched.start()